<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>枣强通行码</title>
    <style>
        *{
            margin: 0;
            padding: 0;
        }
        .wrap {
            padding-top: 50px;
            background: #F2F6FB;
        }
        .btn{
            width: 240px;
            height: 40px;
            line-height: 40px;
            position: absolute;
            left: 50%;
            margin-left: -120px;
            margin-top: 50px;
            background: #265DA4;
            color: #fff;
            text-align: center;
        }
    </style>
</head>

<body>
    <div class="wrap">
        <div style="text-align: center;">
            <img src="./images/success.png?v=01" alt="" width="280px">
        </div>
        <div style="text-align: center;margin-top: 20px;font-size: 26px;font-weight: bolder;">防疫信息注册成功</div>
        <div>
            <div class="btn">确定</div>
        </div>
    </div>
    <script>
        document.getElementsByClassName('wrap')[0].style.height=window.screen.height-50+"px"
        console.log(window.screen.height)
    </script>
</body>

</html>